package com.fc.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.fc.entity.Address;
import com.fc.entity.Employee;
import com.fc.entity.UserAddressRelation;
import com.fc.entity.input.AddressInput;
import com.fc.entity.input.DeleteBatchInput;
import com.fc.entity.output.AddressOutput;
import com.fc.entity.query.PageQuery;
import com.fc.entity.query.PageResult;
import com.fc.service.baseService.BaseService;
import com.fc.utils.ResultVO;

import java.util.List;

/**
 * <p>
 * 地址表 服务类
 * </p>
 *
 * @author 
 * @since 2024-11-04
 */
public interface AddressService extends BaseService<Address> {

    /**
     * 新增
     */
    boolean add(AddressInput input);

    /**
     * 分页模糊查询
     */
    PageResult<AddressOutput> getPage(PageQuery query);

    /**
     * 修改
     */
    boolean renew(AddressInput input);

    /**
     * 删除
     */
    boolean del(DeleteBatchInput input);

    /**
     * 查询详情
     */
    ResultVO<AddressOutput> detail(Long id);
}
